package com.student.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "food对象", description = "食物实体类")
public class Foods implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type= IdType.INPUT)
    private String foodId;
    private String name;
    private Integer healthLevel;
    private BigDecimal calory;
    private Integer category;
}
